package cn.ssm.petadopt.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Component
public class Admins {

  private long id;
  private String adminName;
  private String adminPwd;
  private String realName;
  private String telephone;
  private String email;
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date birthday;
  private String sex;
  private String pic;
  private String remark;

}
